uniform mat4 modelMat;
uniform mat4 viewMat;
uniform mat4 projMat;

attribute vec3 apos;
attribute vec2 atexcoord0;
attribute vec3 anormal;
attribute vec4 acolor;

varying vec2 texcoord0;
varying vec4 color;
 
void main()
{
   gl_Position = projMat * viewMat * modelMat *  vec4(apos,1.0);
   texcoord0 = atexcoord0;
   color = acolor;
}

